﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DAMS.Models
{
    public class SiteConfig
    {
        /// <summary>
        /// 站点名称
        /// </summary>
        public string SiteName { get; set; } = "DAMS";

        /// <summary>
        /// 站点Email
        /// </summary>
        public string SiteEmail { get; set; }

        /// <summary>
        /// 站点发送邮件用地址
        /// </summary>
        public string SiteSendMail { get; set; }
        /// <summary>
        /// 站点发送邮件账号密码
        /// </summary>
        public string SiteSendManlPwd { get; set; }

        /// <summary>
        /// 允许上传的图片类型
        /// </summary>
        public string AllowImageType { get; set; }
        public string UpLoadPath { get;  } = "/Manage/Home/UpLoadFile";
        public string UpLoadFileManage { get; } = "/Manage/Home/UpLoadFileManage";

        #region Article 内容部分
        /// <summary>
        /// 文章摘要字符长度
        /// </summary>
        public int ArticleExcerptLength { get; set; } = 54;

        #endregion
    }
}
